local classData = {};

function GM:GetAllClasses()
	return classData;
end;

function GM:GetClassData(unique)
	return classData[unique];
end;

function GM:AddNewClass(unique, data)
	local defaults = {
		vote = false
	};
	
	table.Merge(defaults, data);
	
	classData[unique] = defaults;
	
	team.SetUp(data.id, data.name, data.color, data.spawn);
end;